package com.linux.huhx.firstdemo;

import java.io.Serializable;

/**
 * @Author: huhx
 * @Date: 2017-11-03 上午 11:41
 */
public class MailMessage implements Serializable {
    private String userForm;
    private String message;
    private String userTo;

    public MailMessage(String userForm, String message, String userTo) {
        this.userForm = userForm;
        this.message = message;
        this.userTo = userTo;
    }

    public String getUserForm() {
        return userForm;
    }

    public String getMessage() {
        return message;
    }

    public String getUserTo() {
        return userTo;
    }

    @Override
    public String toString() {
        return "from " + userForm + ", to " + userTo + ", message " + message;
    }
}
